JavaScript

A5.PanelCardgetPanelId Method

Syntax

A5.PanelCard.getPanelId([part])

Arguments

partstring

The part of the panel to get the ID for. Values can be "header", "body", "footer" or "overlay".

Returns

idstring

The id of the panel or panel part.

Description

Get the ID of the panel, or one of its sub-parts.

Example

// assume pObj is a pointer to a panel class
var headerID = pObj.getPanelId('header'); // get the ID of the header of the panel